package org.alis.smallcc.designpatterns.behavior.memento;

import org.alis.smallcc.designpatterns.behavior.state.State;

/**
 * 备忘录
 * 
 * @author luochuan
 */
public class Memento {
	private State state;
	
	public Memento(State state) {
		this.state = state;
	}
	
	/**
	 * 获取状态
	 */
	public State getState() {
		return this.state;
	}
	
}
